package com.stylefeng.guns.core.util;

import java.util.Random;

/**
 * 用户短信验证码
 *
 * @author carloszhang
 */
public class RandomUtil {

    private RandomUtil() {
    }

    /**
     * 随机数字（随机码）
     *
     * @return
     */
    public static int generateDigital() {
        return new Random().nextInt(900000) + 100000;
    }

}
